//
//  AboutViewController.m
//  嘀嘀拍
//
//  Created by 陈一航 on 16/3/3.
//  Copyright © 2016年 wangjia_01. All rights reserved.
//

#import "AboutViewController.h"
#import "UserManagerProtocolViewController.h"

@interface AboutViewController ()
@property (weak, nonatomic) IBOutlet UILabel *versionLab;

@end

@implementation AboutViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
}
- (IBAction)userFile:(id)sender {
    UIButton *button=sender;
    UserManagerProtocolViewController *viewC=[[UIStoryboard storyboardWithName:@"Main" bundle:nil] instantiateViewControllerWithIdentifier:@"UserManagerProtocolViewController"];
    
    switch (button.tag-5000) {
        case 0:
            viewC.title=@"用户协议";
            break;
        case 1:
            viewC.title=@"唯酷智联出品";
            break;
        case 2:
            viewC.title=@"社区管理协议";
            break;
            
        default:
            break;
    }
    [self.navigationController pushViewController:viewC animated:YES];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
